<template>
  <div class="jd">

     <JingDianMov
     v-for="list in movlist"
          :key="list.movieId"
          :list="list"
    />
  </div>
</template>

<script>
import JingDianMov from "@/components/JingDianMov.vue";
export default {
  components:{
  JingDianMov,
},

data:function(){
  return{

movlist:[],
  };
},

created:function(){
 this.axios
      .get("https://apis.netstart.cn/maoyan/index/moreClassicList?sortId=1&showType=3&limit=10&offset=0")
      .then((res) => {
        console.log(res, this);
        this.movlist = res.data;
      });




},
};
</script>

<style lang="less">
.jd{
  margin-top: 150px;
}
</style>